package com.igogogo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mr.Chen
 * @since 2018-07-01
 */
public class Employees extends Model<Employees> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "eid", type = IdType.AUTO)
    private Integer eid;
    private String ename;
    private String esex;
    /**
     * 生日
     */
    private Date ebirthday;
    private Integer did;


    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getEsex() {
        return esex;
    }

    public void setEsex(String esex) {
        this.esex = esex;
    }

    public Date getEbirthday() {
        return ebirthday;
    }

    public void setEbirthday(Date ebirthday) {
        this.ebirthday = ebirthday;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    @Override
    protected Serializable pkVal() {
        return this.eid;
    }

    @Override
    public String toString() {
        return "Employees{" +
        ", eid=" + eid +
        ", ename=" + ename +
        ", esex=" + esex +
        ", ebirthday=" + ebirthday +
        ", did=" + did +
        "}";
    }
}
